package com.landscope.issue.controller.wx.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class AppletStationListDto {
    @ApiModelProperty("异常设备数量")
    private Integer exceptionNum;
    @ApiModelProperty("日期")
    private String date;
    @ApiModelProperty("台站信息列表")
    private List<AppletStationListItem> staList;

    @Data
    public static class AppletStationListItem{
        @ApiModelProperty("台站名称")
        private String name;
        @ApiModelProperty("电压")
        private String staBat;
        @ApiModelProperty("授时状态，0-正常，1-信号差，2-未授时")
        private Integer gps;
        @ApiModelProperty("信号强度")
        private String g4Singal;
        @ApiModelProperty("状态，1-正常，2-异常")
        private Integer status;
        @ApiModelProperty("台站ID")
        private Integer id;
        @ApiModelProperty("异常等级，1-正常蓝色，2-异常黄色，3-紧急红色")
        private Integer level = 1;
    }
}
